import request from '@/utils/request.js'

// export function getDepartmentList(){
//     return request.get("hospital-serv/departmentList")
// }

// export function getHospitalList(){
//     return request.get("hospital-serv/hospitalList")
// }
export function getFixWorkerList(){
    return request.get("company-serv/fixWorkerList")
}
export function getFixList(data){
    return request.post("company-serv/fixList",data)
}
export function getHospitalList(){
    return request.get("hospital-serv/hospital/list")
}
export function getBedList(data){
    return request.post("hospital-serv/bed/list",data)
}
export function getFaultList(){
    return request.get("company-serv/fault/list")
}
export function saveNewFix(data){
    return request.post("company-serv/fix/add",data)
}
//修改Fix的时候先查fix
export function updSelectFix(data){
    return request.get("company-serv/fix/one/"+data)
}
export function getUpdBedList(data){
    return request.post("hospital-serv/bed/list",data)
}
export function saveUpdFix(data){
    return request.post("company-serv/fix/update",data)
}